From 9edae618f922326bcd622a57b444ef07edc7ef82 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 21 Jun 2005 06:15:46 +0000 Subject: [PATCH] malloc->xmalloc. --- gpsbabel/kml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/kml.c b/gpsbabel/kml.c index 4fd3a8616..d7c5fa356 100644 --- a/gpsbabel/kml.c +++ b/gpsbabel/kml.c @@ -208,7 +208,7 @@ static void kml_output_header(const route_head *header) // Create an array for holding waypoint coordinates so that we // can produce a LineString at the end. - point3d_list = (point3d *) malloc(header->rte_waypt_ct * sizeof(point3d)); + point3d_list = (point3d *) xmalloc(header->rte_waypt_ct * sizeof(point3d)); point3d_list_len = 0; } -- 2.30.2